﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PresentationLayer
{
    public partial class frmHienThiLoi : Form
    {
        public frmHienThiLoi(List<Exception> errors)
        {
            InitializeComponent();
            dgvErrors.AutoGenerateColumns = false;
            dgvErrors.DataSource = errors;
        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
